package com.dongdongshop.service;

import com.dongdongshop.pojo.TbSeckillGoods;
import com.dongdongshop.pojo.TbUser;

import java.util.List;

public interface SeckillService {
    void preHotCache();

    List<TbSeckillGoods> seckillList();

    TbSeckillGoods selectSeckillById(Long id);

    void createOrder(TbUser user, Long seckillGoodsId);

    Long getOrderId(Long id);
}
